﻿using System;
using System.Collections.Generic;
using System.Text;


        namespace ILanguage
    {
        public interface IChinese
        {
            void Candy();
        }
        public interface IChotolate
        {
            void Candy();
        }
        //隐式//
        public class Math : IChinese, IChotolate
        {
            public void Candy()
            {
                Console.WriteLine("一袋米要抗几楼");
            }
        }
        //显式//
        public class Muic : IChinese, IChotolate
        {
            void IChinese.Candy()
            {
                Console.WriteLine("哈撒给");
            }

            void IChotolate.Candy()
            {
                Console.WriteLine("难哟");
            }
        }

    }

